package com.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.page.PageParams;
import com.common.pojo.Agency;
import com.common.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgencyMapper extends BaseMapper<Agency> {
    List<Agency> select(Agency agency);

    int insert(Agency agency);

    List<User>	selectAgent(@Param("user") User user, @Param("pageParams") PageParams pageParams);

    Long selectAgentCount(@Param("user")User user);
}
